package com.hsc.account;

import java.util.ArrayList;
import java.util.List;

import com.hsc.db.tools.AccountList;
import com.hsc.db.tools.AccountService;
import com.hsc.db.tools.EmailService;
import com.hsc.db.tools.ItemService;

public class sendEmailTread extends Thread {

	public List<AccountList> accs;
	public  ItemService items;
	public AccountService accService;
	public sendEmailTread(List<AccountList> accs,ItemService items,AccountService accService)
	{
		this.accs=accs;
		this.items=items;
		this.accService = accService;
	}

	@Override
	public void run() {

		EmailService.sendMail(this.accs, this.items,accService);
	}


}
